/*
** free.c for free in /home/haz3/malloc/poney
** 
** Made by maxime wojciak
** Login   <wojcia_m@epitech.net>
** 
** Started on  Tue Feb  5 14:59:36 2013 maxime wojciak
** Last update Fri Feb  8 16:18:17 2013 Maxime Wojciak
*/
#include	<stdio.h>
#include	"malloc.h"

/*t_malloc	split(t_malloc *tmp, unsigned int size)
{
  t_malloc		*tmp2;
  if (tmp)
    {
      tmp2 = tmp;
      tmp2->next = tmp2->prev;
      srbk(tmp2->size + SIZE_STRUCT);
    }
  else
    return (NULL);
    }*/

void            free(void *ptr)
{
  if (ptr)
    ((t_malloc *)ptr)->etat = 0;
}
